<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>员工信息</title>
</head>
<body>
	<!-- 引入头部页面 -->
	<jsp:include page="/public/head.jsp"></jsp:include>
	
	<!-- 列表展示数据 -->
	<table align="center" border="1" cellpadding="3" cellspacing="0">
		<tr>
			<td>序号</td>
			<td>编号</td>
			<td>员工名称</td>
		</tr>
		<c:if test="${not empty requestScope.listEmp }">
			<c:forEach var="emp" items="${requestScope.listEmp }" varStatus="vs">
				<tr>
					<td>${vs.count }</td>
					<td>${emp.empId }</td>
					<td>${emp.empName }</td>
				</tr>			
			</c:forEach>
		</c:if>
	</table>
</body>
</html>